package com.ohs.ohsoa.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Digits;
import javax.validation.constraints.Size;

@Data
@TableName("overtime_setting")
public class Overtimesetting {

    @ApiModelProperty(value = "编号,主键")
    @TableId
    @Size(max = 32,message="")
    private String osGuid;

    @ApiModelProperty(value = "集团下企业主键")
    @Size(max = 32,message="")
    private String groupEnterpriseGuid;

    @ApiModelProperty(value = "加班类型,1：普通加班 2：假日加班（周六日） 3：法定节假日加班")
    @Size(max = 1,message="")
    private String osType;

    @ApiModelProperty(value = "是否可以加班")
    private String osFlg;

    @ApiModelProperty(value = "加班开始时间")
    private String osBtime;

    @ApiModelProperty(value = "加班结束时间")
    private String osEtime;

    @ApiModelProperty(value = "加班结束时间是否隔天")
    private String osSeconddayFlg;

    @ApiModelProperty(value = "是否扣除用餐时间")
    private String osMealsFlg;

    @ApiModelProperty(value = "扣除用餐时间间隔（小时）")
    @Digits(integer = 2,fraction=1,message="")
    private String osMealsInterval;

    @ApiModelProperty(value = "扣除用餐时常（小时）")
    @Digits(integer = 2,fraction=1,message="")
    private String osMealsLong;

    @ApiModelProperty(value = "是否结算加班费")
    private String osFeeFlg;

    @ApiModelProperty(value = "结算加班费时间点")
    private String osFeeTime;

    @ApiModelProperty(value = "加班费结算倍数")
    @Digits(integer = 2,fraction=1,message="")
    private String osFeeMultiple;
}
